package com.lanyam.travel.base.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author rosson
 * @since 2020-02-22
 */
@TableName("order_refund_details")
public class OrderRefundDetails extends Model<OrderRefundDetails> {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 退款ID
     */
    @TableField("refund_id")
    private String refundId;
    /**
     * 申请退款人id
     */
    @TableField("require_user_id")
    private String requireUserId;
    
    /**
     * 申请退款人id
     */
    @TableField("require_time")
    private Date requireTime;
    /**
     * 退款原因(选项)
     */
    @TableField("reason")
    private String reason;
    /**
     * 退款说明
     */
    @TableField("remarks")
    private String remarks;
    /**
     * 退款审核人id
     */
    @TableField("verify_user_id")
    private String verifyUserId;
    /**
     * 退款审核时间
     */
    @TableField("verify_time")
    private Date verifyTime;
    /**
     * 审核未通过原因
     */
    @TableField("verify_fail_reason")
    private String verifyFailReason;
    /**
     * 退款审核结果0为未通过1为通过
     */
    @TableField("verify_result")
    private Integer verifyResult;
    /**
     * 凭证路径
     */
    @TableField("img_url")
    private String imgUrl;


    public String getRequireUserId() {
		return requireUserId;
	}

	public void setRequireUserId(String requireUserId) {
		this.requireUserId = requireUserId;
	}

	

	public Date getRequireTime() {
		return requireTime;
	}

	public void setRequireTime(Date requireTime) {
		this.requireTime = requireTime;
	}

	public String getId() {
        return id;
    }

    public OrderRefundDetails setId(String id) {
        this.id = id;
        return this;
    }

    public String getRefundId() {
        return refundId;
    }

    public OrderRefundDetails setRefundId(String refundId) {
        this.refundId = refundId;
        return this;
    }


    public String getReason() {
        return reason;
    }

    public OrderRefundDetails setReason(String reason) {
        this.reason = reason;
        return this;
    }

    public String getRemarks() {
        return remarks;
    }

    public OrderRefundDetails setRemarks(String remarks) {
        this.remarks = remarks;
        return this;
    }

    public String getVerifyUserId() {
        return verifyUserId;
    }

    public OrderRefundDetails setVerifyUserId(String verifyUserId) {
        this.verifyUserId = verifyUserId;
        return this;
    }

    public Date getVerifyTime() {
        return verifyTime;
    }

    public OrderRefundDetails setVerifyTime(Date verifyTime) {
        this.verifyTime = verifyTime;
        return this;
    }

    public String getVerifyFailReason() {
        return verifyFailReason;
    }

    public OrderRefundDetails setVerifyFailReason(String verifyFailReason) {
        this.verifyFailReason = verifyFailReason;
        return this;
    }

    public Integer getVerifyResult() {
        return verifyResult;
    }

    public OrderRefundDetails setVerifyResult(Integer verifyResult) {
        this.verifyResult = verifyResult;
        return this;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public OrderRefundDetails setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "OrderRefundDetails{" +
        ", id=" + id +
        ", refundId=" + refundId +
        ", reason=" + reason +
        ", remarks=" + remarks +
        ", verifyUserId=" + verifyUserId +
        ", verifyTime=" + verifyTime +
        ", verifyFailReason=" + verifyFailReason +
        ", verifyResult=" + verifyResult +
        ", imgUrl=" + imgUrl +
        "}";
    }
}
